use aspect_codec::prelude::*;

use crate::id::{QueueId, ReaderId};

#[derive(Clone, Debug)]
pub struct QueueSubscription {
    queue_id: QueueId,
    reader_id: ReaderId,
}

aspect_codec::inst_struct_codec! {
    QueueSubscription {
        queue_id: QueueId,
        reader_id: ReaderId,
    }
}
